<?php echo $this->element('menu'); ?>
<div class="coevents form">
<?php echo $this->Form->create('Coevent');?>
	<fieldset>
		<legend><?php __('Admin Edit Coevent'); ?></legend>
	<?php
		echo $this->Form->input('EventID');
		echo $this->Form->input('ComID', array('label'=>'ComName','options'=>$codetails));
		echo $this->Form->input('Event');
		echo $this->Form->input('EventDate',array('minYear' => "1930",'maxYear' => date("Y"),'dateFormat' => 'DMY','timeFormat'=>'24'));
		echo $this->Form->input('Position');
		//echo $this->Form->input('delistDate',array('minYear' => "1950",'maxYear' => date("Y"),'dateFormat' => 'DMY','empty' => '(choose one)'));
		//echo $this->Form->input('FileName');
		//echo $this->Form->input('_declaration');
		//echo $this->Form->input('_flagA');
		echo $this->Form->input('Note');
		//echo $this->Form->input('EventDateFormat');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>